how to get length of object in php

46

how to get length of object in php -

$total = count((array)$obj);

Comments

Submit
0 Comments